package co.yixiang.yshop.module.product.dal.dataobject.integralshop;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.math.BigDecimal;

@TableName("yshop_integral_shop_product_detail")
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class IntegralShopRefDO {
    @TableId
    private Long id;
    /**
     * 关联id
     */
    private Long refId;
    /**
     * 产品id
     */
    private Long productAttrId;
    /**
     * 价格
     */
    private BigDecimal price;
    /**
     * 积分
     */
    private BigDecimal integral;
    /**
     * 总数量
     */
    private Integer total;
    /**
     * 剩余数量
     */
    private Integer remain;





}
